package JAVA_package;

import java.util.Scanner;



public class JAVA_P_class_4 {

	

	public static void main(String[] args) {
		/*double d = 84.54;
		*d++;
		* //int c =  d / 2; 此表达式有误，编译错误
		*int c = (int)d / 2;
		*double z = d / 2;
		*System.out.println("c = "+c);
		*System.out.println("z = "+z);
	    **/
		//第一种输入方法
		Scanner sc = new Scanner(System.in);
	/*	int a = sc.nextInt();
		int b = sc.nextInt();
		System.out.println(a+b);
		System.out.println(a-b);
		System.out.println(a*b);
		System.out.println(a/b);
		System.out.println("a = "+a);
		System.out.println("b = "+b);
		double c = sc.nextDouble();
		System.out.println("c = "+c);
	**/	
		String input = sc.next();
		System.out.println(input);
		System.out.println("————————————————");
		//第二种输入方法
		//String variable = JOptionPane.showInputDialog("Enter number of oranges:");
        //问题未解决
	
		
	}
}
